package com.emode.test;

import java.util.ArrayList;
import java.util.List;

import com.demo.common.model.Article;
import com.demo.common.model.Tag;

public class test2 {
	
	public static void main(String[] args) {
		List<String> alist = new ArrayList<String>();
		alist.add("1");
		alist.add("2");
		alist.add("3");
		alist.add("5");
		alist.add("6");
		alist.add("7");
		alist.add("8");
		List<String> blist = new ArrayList<String>();
		blist.add("2");
		blist.add("3");
		blist.add("6");
		//List<Object> list = new ArrayList<Object>();
		//list.contains("a");
		/*for(int i=0;i<alist.size();i++){
			if(blist.contains(alist.get(i))){
				System.out.println("yes:"+alist.get(i));
			}else{
				System.out.println("no:"+alist.get(i));
				
			}
		}*/
		Article article = new Article();
		article.set("id", 31);
		List<Tag> arlist = Article.me.getTags(article);
		for(int i=0;i<alist.size();i++){
			System.out.println(arlist.contains(""));
		}
	}

}
